import FX from 'fs-extra';


const method = 'get';

const handle = function() {
	try {
		return FX.readJSONSync('package.json', 'utf8').version;
	}
	catch {
		return 'error';
	}
};

export { method, handle };